﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Century.Web.Security.Attributes;
using Century.Web.UI.MVC;

namespace Century.Web.MVC.AdminArea
{
    public class AdminAreaHomeController : CenturyAdminBaseController
    {
        //
        // GET: /Admin/Home/
        [Authorization(Group = "", Name = "AdminHomePage")]
        public ActionResult Index(string cntryCode, string langCode)
        {
            ViewBag.Message = "Welcome to Admin Area" ;
            return View(Token);
        }

        [Authorization(Group = "", Name = "Administration")]
        public void Reload(string id)
        {
            //GKFX.Business.Repository.PersistDataUpdater.ClearCurrentSiteCache(id);
        }
    }
}
